<html xmlns='http://www.w3.org/1999/xhtml'
      xmlns:p='http://primefaces.org/ui'
      xmlns:h='http://java.sun.com/jsf/html'
      xmlns:cc='http://java.sun.com/jsf/composite'>

<cc:interface>

<cc:attribute name='id'/>

<cc:attribute name='b'/>

<cc:attribute name='t'/>

<cc:attribute name='v'/>

<cc:attribute name='wT' default='65'/>

<cc:attribute name='w'  default='50px'/>

<cc:attribute name='u' default='@(.#{cc.attrs.b.name})'/>

<cc:attribute name='p' default='@(.#{cc.attrs.b.name})'/>

<cc:attribute name='style'/>

</cc:interface>


<cc:implementation>

<h:panelGrid columns='2' cellpadding='0' cellspacing='0'>

<h:panelGrid columns='1' cellpadding='0' cellspacing='0' width='#{cc.attrs.wT}'><span>#{cc.attrs.t}</span></h:panelGrid>

<p:selectBooleanCheckbox value='#{cc.attrs.v}' styleClass='rmvCorner'>

<p:ajax update='#{cc.attrs.u}' process='#{cc.attrs.p}' partialSubmit='true'/>

</p:selectBooleanCheckbox>

</h:panelGrid>

</cc:implementation>

</html>